package com.qf.fmall01.controller;

import com.qf.fmall01.vo.ResultVO;
import com.qf.fmall01.websockt.WebSocketServer;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("pay")
public class PayController {

    @RequestMapping("notify")
    public void notifyOK(String orderId){
        WebSocketServer.sendMsg(orderId,"1");
    }

}
